package querylog.bean;

/**
 * @typeName LogHead
 * @Description: 日志概要信息，包括请求报文，返回报文
 * @author wangxy
 * @date 2017年11月30日下午2:20:50
 * @version v1.0
 */
public class LogHead {
	private String branch;		//机构号
	private String hostid;		//环境id
	private String indate;		//执行交易自然日期。入库日期，如20171209
	private String intime;		//交易时间。毫秒数？
	private String reqinfo;		//请求报文
	private String respinfo;	//响应报文
	private String seqno;		//流水号
	private String trancode;	//接口号。如059322
	private String trandate;	//交易日期
	private String transtatus;	//交易状态
	private String trantime;	//交易日期
	private String userid;		//柜员号
	private String usetime;		//交易耗时
	
	public LogHead(String branch, String hostid, String indate, String intime,
			String reqinfo, String respinfo, String seqno, String trancode,
			String trandate, String transtatus, String trantime, String userid,
			String usetime) {
		super();
		this.branch = branch;
		this.hostid = hostid;
		this.indate = indate;
		this.intime = intime;
		this.reqinfo = reqinfo;
		this.respinfo = respinfo;
		this.seqno = seqno;
		this.trancode = trancode;
		this.trandate = trandate;
		this.transtatus = transtatus;
		this.trantime = trantime;
		this.userid = userid;
		this.usetime = usetime;
	}
	

	@Override
	public String toString() {
		return "LogHead [branch=" + branch + ", hostid=" + hostid + ", indate="
				+ indate + ", intime=" + intime + ", reqinfo=" + reqinfo
				+ ", respinfo=" + respinfo + ", seqno=" + seqno
				+ ", trancode=" + trancode + ", trandate=" + trandate
				+ ", transtatus=" + transtatus + ", trantime=" + trantime
				+ ", userid=" + userid + ", usetime=" + usetime + "]";
	}


	public LogHead() {

	}


	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public String getHostid() {
		return hostid;
	}

	public void setHostid(String hostid) {
		this.hostid = hostid;
	}

	public String getIndate() {
		return indate;
	}

	public void setIndate(String indate) {
		this.indate = indate;
	}

	public String getIntime() {
		return intime;
	}

	public void setIntime(String intime) {
		this.intime = intime;
	}

	public String getReqinfo() {
		return reqinfo;
	}

	public void setReqinfo(String reqinfo) {
		this.reqinfo = reqinfo;
	}

	public String getRespinfo() {
		return respinfo;
	}

	public void setRespinfo(String respinfo) {
		this.respinfo = respinfo;
	}

	public String getSeqno() {
		return seqno;
	}

	public void setSeqno(String seqno) {
		this.seqno = seqno;
	}

	public String getTrancode() {
		return trancode;
	}

	public void setTrancode(String trancode) {
		this.trancode = trancode;
	}

	public String getTrandate() {
		return trandate;
	}

	public void setTrandate(String trandate) {
		this.trandate = trandate;
	}

	public String getTranstatus() {
		return transtatus;
	}

	public void setTranstatus(String transtatus) {
		this.transtatus = transtatus;
	}

	public String getTrantime() {
		return trantime;
	}

	public void setTrantime(String trantime) {
		this.trantime = trantime;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getusetime() {
		return usetime;
	}

	public void setusetime(String usetime) {
		this.usetime = usetime;
	}
	
	

	
}
